package com.winit.commons.rabbitmq;

import java.io.Serializable;

/**
 * rebbitmq消息实体
 */
public class MqMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    private String messageType;

    private Object payLoad;

    public MqMessage(){}
    public MqMessage(String messageType,Object payLoad){
        this.messageType = messageType;
        this.payLoad = payLoad;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Object getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(Object payLoad) {
        this.payLoad = payLoad;
    }
}
